<%@ page language="java"
	import="java.util.*,java.lang.*,java.text.SimpleDateFormat,com.firesrc.bean.MailDayAmount"
	contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>邮箱列表</title>
</head>
<body>
	<h2>每个邮箱发送的详细信息</h2> 
	<%
		List<MailDayAmount> list = (List) request.getAttribute("list");
	%>
	<font color="blue" size="4"><%= request.getAttribute("name") %>共有  <%=list.size() %></font>个
	<form action="" >
		<input type="hidden" name="type" value="add">
		<table border="1">
			<tbody align="left">
				<tr>
					<td>邮件</td>
					<td>类型</td>
					<td>已发送数量</td>
					<td>每天最大值</td>
					<td>发送日期</td>
					<td>状态</td>
				</tr>
				<%
					for (MailDayAmount mailDayAmount : list) {
				%>
				<tr>
					<td><%=mailDayAmount.getUserName()%></td>
					<td><%=mailDayAmount.getKind()%></td>
					<td><%=mailDayAmount.getAmount()%></td>
					<td><%=mailDayAmount.getDayMax()%></td>
					<td><%=mailDayAmount.getSendDate()%></td>
					<td><%=mailDayAmount.getState()%></td>
					
				</tr>
				<%
					}
				%>
			</tbody>
		</table>
	</form>
</body>
</html>